package com.demo.demoproject.constants;

import java.security.SecureRandom;

public class MailConstants {
    public static final Integer DEFAULT_LENGTH_CAPTCHA = 6;   // 验证码长度

    public static final String TEMPLATE_CAPTCHA_REGISTER = "#";
    public static final String TEMPLATE_CAPTCHA_UPDATE_MAIL = "#";

    public static final String CHAR_SET = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
    public static final SecureRandom RANDOM = new SecureRandom();
    public static final String MAIL_SUBJECT_CAPTCHA_REGISTER = "平台注册验证码";
    public static final String MAIL_SUBJECT_CAPTCHA_RESET_PASSWORD = "平台重置密码验证码";
    public static final String MAIL_SUBJECT_CAPTCHA_RESET_EMAIL = "平台重置邮箱验证码";
    public static final String MAIL_SEND_FROM = "3294240017";
}
